package com.itheima.homework.work3;

public class test {
    public static void main(String[] args) {
        Coach c=new Coach("001","刘国梁","男",45);
        Athletes a=new Athletes("002","王皓","男",30,"国家队一班");

        System.out.print(c.toString());
        c.eat();
        System.out.print(a.toString());
        a.eat();
    }
}
